package com.ycm.vo;

import com.ycm.enums.IdCardType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author ycm
 * @date 2024-11-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserVo extends BaseVo {
    private static final long serialVersionUID = 1L;

    /**
     * 姓名
     */
    @Schema(description = "姓名")
    private String name;

    /**
     * 昵称
     */
    @Schema(description = "昵称")
    private String nickName;

    /**
     * 年龄
     */
    @Schema(description = "年龄")
    private int age;

    /**
     * 证件类型
     */
    @Schema(description = "证件类型")
    private IdCardType idCardType;

    /**
     * 证件号
     */
    @Schema(description = "证件号")
    private String idCardNo;
}
